package event.model;

import java.text.SimpleDateFormat;
import java.util.Date;

class Time {
	long time;

	public Time(long time) {
		this.time = time;
	}
	
	@Override
	public String toString() {
		Date d = new Date(time);
		SimpleDateFormat format = new SimpleDateFormat("d/M HH:mm");
		
		return format.format(d);
	}
}
